package com.ms.dsq_english.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @Author: zheng
 */
public class AreaBean {

    /**
     * code : 10000
     * msg : 成功！
     * data : {"last_time":"2021-01-28 18:38:41","sales_region":[{"nums":"391","pname":"江苏省"},{"nums":"7","pname":"安徽省"},{"nums":"200","pname":"山东省"},{"nums":"1","pname":"河南省"}],"district_data":[{"date":"08-03","time":"09:36:54","address":"山东省临沂市河东区","cover_rate":"10/54"},{"date":"08-02","time":"17:56:39","address":"江苏省淮安市清江浦区","cover_rate":"8/54"},{"date":"07-24","time":"13:45:10","address":"江苏省盐城市盐都区","cover_rate":"8/54"},{"date":"08-01","time":"22:50:42","address":"江苏省扬州市广陵区","cover_rate":"6/54"},{"date":"07-31","time":"15:20:54","address":"江苏省泰州市姜堰区","cover_rate":"6/54"},{"date":"07-31","time":"14:28:26","address":"山东省枣庄市峄城区","cover_rate":"6/54"},{"date":"08-03","time":"09:26:25","address":"江苏省宿迁市宿城区","cover_rate":"5/54"},{"date":"07-29","time":"09:48:36","address":"江苏省南京市玄武区","cover_rate":"2/54"},{"date":"01-08","time":"17:55:25","address":"安徽省合肥市蜀山区","cover_rate":"1/54"},{"date":"01-13","time":"15:45:13","address":"安徽省亳州市谯城区","cover_rate":"1/54"}],"month_district_data":{"month_district":"54","month_shop_count":"464","month_active_district_rate":"94.4","month_active_shop_rate":"58.6","month_district_unit":"121","month_shop_unit":"14"},"pre_district_data":{"pre_district":"51","pre_shop_count":"456","pre_active_district_rate":"96.1","pre_active_shop_rate":"57","pre_district_unit":"122","pre_shop_unit":"14"},"now_order":[{"address":"江苏省南京市玄武区","amount":"147.32","rate":"71.97"},{"address":"安徽省亳州市谯城区","amount":"36.7","rate":"17.93"},{"address":"安徽省亳州市涡阳县","amount":"8.68","rate":"4.24"}],"pre_order":[{"address":"江苏省泰州市姜堰区","amount":"11.71","rate":"41.05"},{"address":"江苏省南京市玄武区","amount":"5.31","rate":"18.63"},{"address":"江苏省扬州市宝应县","amount":"4.88","rate":"17.09"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * last_time : 2021-01-28 18:38:41
         * sales_region : [{"nums":"391","pname":"江苏省"},{"nums":"7","pname":"安徽省"},{"nums":"200","pname":"山东省"},{"nums":"1","pname":"河南省"}]
         * district_data : [{"date":"08-03","time":"09:36:54","address":"山东省临沂市河东区","cover_rate":"10/54"},{"date":"08-02","time":"17:56:39","address":"江苏省淮安市清江浦区","cover_rate":"8/54"},{"date":"07-24","time":"13:45:10","address":"江苏省盐城市盐都区","cover_rate":"8/54"},{"date":"08-01","time":"22:50:42","address":"江苏省扬州市广陵区","cover_rate":"6/54"},{"date":"07-31","time":"15:20:54","address":"江苏省泰州市姜堰区","cover_rate":"6/54"},{"date":"07-31","time":"14:28:26","address":"山东省枣庄市峄城区","cover_rate":"6/54"},{"date":"08-03","time":"09:26:25","address":"江苏省宿迁市宿城区","cover_rate":"5/54"},{"date":"07-29","time":"09:48:36","address":"江苏省南京市玄武区","cover_rate":"2/54"},{"date":"01-08","time":"17:55:25","address":"安徽省合肥市蜀山区","cover_rate":"1/54"},{"date":"01-13","time":"15:45:13","address":"安徽省亳州市谯城区","cover_rate":"1/54"}]
         * month_district_data : {"month_district":"54","month_shop_count":"464","month_active_district_rate":"94.4","month_active_shop_rate":"58.6","month_district_unit":"121","month_shop_unit":"14"}
         * pre_district_data : {"pre_district":"51","pre_shop_count":"456","pre_active_district_rate":"96.1","pre_active_shop_rate":"57","pre_district_unit":"122","pre_shop_unit":"14"}
         * now_order : [{"address":"江苏省南京市玄武区","amount":"147.32","rate":"71.97"},{"address":"安徽省亳州市谯城区","amount":"36.7","rate":"17.93"},{"address":"安徽省亳州市涡阳县","amount":"8.68","rate":"4.24"}]
         * pre_order : [{"address":"江苏省泰州市姜堰区","amount":"11.71","rate":"41.05"},{"address":"江苏省南京市玄武区","amount":"5.31","rate":"18.63"},{"address":"江苏省扬州市宝应县","amount":"4.88","rate":"17.09"}]
         */

        private String last_time;
        private MonthDistrictDataBean month_district_data;
        private PreDistrictDataBean pre_district_data;
        private List<SalesRegionBean> sales_region;
        private ArrayList<DistrictDataBean> district_data;
        private List<NowOrderBean> now_order;
        private List<PreOrderBean> pre_order;
        private ArrayList<MonthBean> month_chart;
        private String new_version;
        private String apk_url;
        private String upgrade_tips;
        private String size;

        public String getNew_version() {
            return new_version;
        }

        public void setNew_version(String new_version) {
            this.new_version = new_version;
        }

        public String getApk_url() {
            return apk_url;
        }

        public void setApk_url(String apk_url) {
            this.apk_url = apk_url;
        }

        public String getUpgrade_tips() {
            return upgrade_tips;
        }

        public void setUpgrade_tips(String upgrade_tips) {
            this.upgrade_tips = upgrade_tips;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public ArrayList<MonthBean> getMonth_chart() {
            return month_chart;
        }

        public void setMonth_chart(ArrayList<MonthBean> month_chart) {
            this.month_chart = month_chart;
        }

        public String getLast_time() {
            return last_time;
        }

        public void setLast_time(String last_time) {
            this.last_time = last_time;
        }

        public MonthDistrictDataBean getMonth_district_data() {
            return month_district_data;
        }

        public void setMonth_district_data(MonthDistrictDataBean month_district_data) {
            this.month_district_data = month_district_data;
        }

        public PreDistrictDataBean getPre_district_data() {
            return pre_district_data;
        }

        public void setPre_district_data(PreDistrictDataBean pre_district_data) {
            this.pre_district_data = pre_district_data;
        }

        public List<SalesRegionBean> getSales_region() {
            return sales_region;
        }

        public void setSales_region(List<SalesRegionBean> sales_region) {
            this.sales_region = sales_region;
        }

        public ArrayList<DistrictDataBean> getDistrict_data() {
            return district_data;
        }

        public void setDistrict_data(ArrayList<DistrictDataBean> district_data) {
            this.district_data = district_data;
        }

        public List<NowOrderBean> getNow_order() {
            return now_order;
        }

        public void setNow_order(List<NowOrderBean> now_order) {
            this.now_order = now_order;
        }

        public List<PreOrderBean> getPre_order() {
            return pre_order;
        }

        public void setPre_order(List<PreOrderBean> pre_order) {
            this.pre_order = pre_order;
        }

        public static class MonthBean {
            private String retailers;
            private String districts;
            private String months;

            public String getRetailers() {
                return retailers;
            }

            public void setRetailers(String retailers) {
                this.retailers = retailers;
            }

            public String getDistricts() {
                return districts;
            }

            public void setDistricts(String districts) {
                this.districts = districts;
            }

            public String getMonths() {
                return months;
            }

            public void setMonths(String months) {
                this.months = months;
            }
        }



        public static class MonthDistrictDataBean {
            /**
             * month_district : 54
             * month_shop_count : 464
             * month_active_district_rate : 94.4
             * month_active_shop_rate : 58.6
             * month_district_unit : 121
             * month_shop_unit : 14
             */

            private String month_district;
            private String month_shop_count;
            private String month_active_district_rate;
            private String month_active_shop_rate;
            private String month_district_unit;
            private String month_shop_unit;

            public String getMonth_district() {
                return month_district;
            }

            public void setMonth_district(String month_district) {
                this.month_district = month_district;
            }

            public String getMonth_shop_count() {
                return month_shop_count;
            }

            public void setMonth_shop_count(String month_shop_count) {
                this.month_shop_count = month_shop_count;
            }

            public String getMonth_active_district_rate() {
                return month_active_district_rate;
            }

            public void setMonth_active_district_rate(String month_active_district_rate) {
                this.month_active_district_rate = month_active_district_rate;
            }

            public String getMonth_active_shop_rate() {
                return month_active_shop_rate;
            }

            public void setMonth_active_shop_rate(String month_active_shop_rate) {
                this.month_active_shop_rate = month_active_shop_rate;
            }

            public String getMonth_district_unit() {
                return month_district_unit;
            }

            public void setMonth_district_unit(String month_district_unit) {
                this.month_district_unit = month_district_unit;
            }

            public String getMonth_shop_unit() {
                return month_shop_unit;
            }

            public void setMonth_shop_unit(String month_shop_unit) {
                this.month_shop_unit = month_shop_unit;
            }
        }

        public static class PreDistrictDataBean {
            /**
             * pre_district : 51
             * pre_shop_count : 456
             * pre_active_district_rate : 96.1
             * pre_active_shop_rate : 57
             * pre_district_unit : 122
             * pre_shop_unit : 14
             */

            private String pre_district;
            private String pre_shop_count;
            private String pre_active_district_rate;
            private String pre_active_shop_rate;
            private String pre_district_unit;
            private String pre_shop_unit;

            public String getPre_district() {
                return pre_district;
            }

            public void setPre_district(String pre_district) {
                this.pre_district = pre_district;
            }

            public String getPre_shop_count() {
                return pre_shop_count;
            }

            public void setPre_shop_count(String pre_shop_count) {
                this.pre_shop_count = pre_shop_count;
            }

            public String getPre_active_district_rate() {
                return pre_active_district_rate;
            }

            public void setPre_active_district_rate(String pre_active_district_rate) {
                this.pre_active_district_rate = pre_active_district_rate;
            }

            public String getPre_active_shop_rate() {
                return pre_active_shop_rate;
            }

            public void setPre_active_shop_rate(String pre_active_shop_rate) {
                this.pre_active_shop_rate = pre_active_shop_rate;
            }

            public String getPre_district_unit() {
                return pre_district_unit;
            }

            public void setPre_district_unit(String pre_district_unit) {
                this.pre_district_unit = pre_district_unit;
            }

            public String getPre_shop_unit() {
                return pre_shop_unit;
            }

            public void setPre_shop_unit(String pre_shop_unit) {
                this.pre_shop_unit = pre_shop_unit;
            }
        }

        public static class SalesRegionBean {
            /**
             * nums : 391
             * pname : 江苏省
             */

            private String nums;
            private String pname;

            public String getNums() {
                return nums;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public String getPname() {
                return pname;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }
        }

        public static class DistrictDataBean {
            /**
             * date : 08-03
             * time : 09:36:54
             * address : 山东省临沂市河东区
             * cover_rate : 10/54
             */

            private String date;
            private String time;
            private String address;
            private String cover_rate;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getCover_rate() {
                return cover_rate;
            }

            public void setCover_rate(String cover_rate) {
                this.cover_rate = cover_rate;
            }
        }

        public static class NowOrderBean {
            /**
             * address : 江苏省南京市玄武区
             * amount : 147.32
             * rate : 71.97
             */

            private String address;
            private String amount;
            private String rate;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }
        }

        public static class PreOrderBean {
            /**
             * address : 江苏省泰州市姜堰区
             * amount : 11.71
             * rate : 41.05
             */

            private String address;
            private String amount;
            private String rate;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }
        }
    }
}
